package com.miracle9.game.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;

@Entity
public class JoyDesk extends BaseEntity {

    @Column(updatable = false)
    private int modeId;
    @Column(updatable = false)
    private int roomId;
    private String name;
    private int autoKickOut = -1;
    private int minGold = 100;
    private int baseYaFen;
    private int multiple = 0;
    private int exchange = 10;
    private int state = 1;
    private int waterValue = 0;
    private int pondWaterValue = 0;
    private int dealerLimit;
    private int seatLimit;
    private int sMaxYaFen = 10000;
    private int orderBy = 0;
    @Column(updatable = false)
    private long sumYaFen = 0L;
    @Column(updatable = false)
    private long sumDeFen = 0L;
    @Column(updatable = false)
    private String datetime;
    private int userId = 0;
    private String password;
    @Column(updatable = false)
    private int maxUser = 200;
    @Transient
    private int onlineNumber;

    public int getMultiple() {
        return this.multiple;
    }

    public void setMultiple(int multiple) {
        this.multiple = multiple;
    }

    public int getMaxUser() {
        return this.maxUser;
    }

    public void setMaxUser(int maxUser) {
        this.maxUser = maxUser;
    }

    public int getsMaxYaFen() {
        return this.sMaxYaFen;
    }

    public void setsMaxYaFen(int sMaxYaFen) {
        this.sMaxYaFen = sMaxYaFen;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getModeId() {
        return this.modeId;
    }

    public void setModeId(int modeId) {
        this.modeId = modeId;
    }

    public int getRoomId() {
        return this.roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMinGold() {
        return this.minGold;
    }

    public void setMinGold(int minGold) {
        this.minGold = minGold;
    }

    public int getExchange() {
        return this.exchange;
    }

    public void setExchange(int exchange) {
        this.exchange = exchange;
    }

    public int getWaterValue() {
        return this.waterValue;
    }

    public void setWaterValue(int waterValue) {
        this.waterValue = waterValue;
    }

    public int getState() {
        return this.state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getPondWaterValue() {
        return this.pondWaterValue;
    }

    public void setPondWaterValue(int pondWaterValue) {
        this.pondWaterValue = pondWaterValue;
    }

    public int getDealerLimit() {
        return this.dealerLimit;
    }

    public void setDealerLimit(int dealerLimit) {
        this.dealerLimit = dealerLimit;
    }

    public int getSeatLimit() {
        return this.seatLimit;
    }

    public void setSeatLimit(int seatLimit) {
        this.seatLimit = seatLimit;
    }

    public int getOrderBy() {
        return this.orderBy;
    }

    public void setOrderBy(int orderBy) {
        this.orderBy = orderBy;
    }

    public long getSumYaFen() {
        return this.sumYaFen;
    }

    public void setSumYaFen(long sumYaFen) {
        this.sumYaFen = sumYaFen;
    }

    public long getSumDeFen() {
        return this.sumDeFen;
    }

    public void setSumDeFen(long sumDeFen) {
        this.sumDeFen = sumDeFen;
    }

    public int getOnlineNumber() {
        return this.onlineNumber;
    }

    public void setOnlineNumber(int onlineNumber) {
        this.onlineNumber = onlineNumber;
    }

    public int getAutoKickOut() {
        return this.autoKickOut;
    }

    public void setAutoKickOut(int autoKickOut) {
        this.autoKickOut = autoKickOut;
    }

    public int getBaseYaFen() {
        return this.baseYaFen;
    }

    public void setBaseYaFen(int baseYaFen) {
        this.baseYaFen = baseYaFen;
    }

    public int getUserId() {
        return this.userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getDatetime() {
        return this.datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String toString() {
        return "JoyDesk [modeId=" + this.modeId + ", roomId=" + this.roomId + ", name=" + this.name + ", autoKickOut=" + this.autoKickOut + ", minGold=" + this.minGold + ", baseYaFen=" + this.baseYaFen + ", multiple=" + this.multiple + ", exchange=" + this.exchange + ", state=" + this.state + ", waterValue=" + this.waterValue + ", pondWaterValue=" + this.pondWaterValue + ", dealerLimit=" + this.dealerLimit + ", seatLimit=" + this.seatLimit + ", sMaxYaFen=" + this.sMaxYaFen + ", orderBy=" + this.orderBy + ", sumYaFen=" + this.sumYaFen + ", sumDeFen=" + this.sumDeFen + ", datetime=" + this.datetime + ", userId=" + this.userId + ", password=" + this.password + ", maxUser=" + this.maxUser + ", onlineNumber=" + this.onlineNumber + "]";
    }

}
